{template 'admin','header'}
<form action="" method="POST" onsubmit="return r_submit(this);">
<table class="table_form">
<caption>修改资源配置</caption>
<tr>
	<th width="20%"><font color="red">*</font><strong>资源配置名称</strong></th>
	<td><input type="text" value="{$info['res_name']}" name="res_name"></td>
</tr>
<tr>
	<th><font color="red">*</font><strong>资源配置编号</strong></th>
	<td><input type="text" value="{$info['view_type']}" name="view_type"></td>
</tr>
<tr>
	<th><font color="red">*</font><strong>资源获取sql</strong></th>
	<td><input type="text" value="{$info['res_sql']}" name="res_sql"></td>
	<input type="hidden" name="resid" value="{$res['resid']}">
</tr>
<tr>
	<th><strong>多站点模式</strong></th>
	<td><input type="checkbox" name="is_site" {if $info['is_sites'] =='1'}checked{/if} value="1"></td>
</tr>
<tr>
	<th></th>
	<td><input type="submit" value="确定" class="button_style">&nbsp;<input class="button_style" onclick="self.location='{urldecode($forward)}'" type="button" value="返回"></td>
</tr>
</form>
{template 'admin','footer'}